package com.xhl.doeverything.entity;//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

public enum SysEventType implements BaseEnum {
    INSERT("新增"),
    MODIFY("修改"),
    DELETE("删除");

    private String desc;

    private SysEventType(String desc) {
        this.desc = desc;
    }

    public String getDesc() {
        return this.desc;
    }

    public String getCode() {
        return this.name().toLowerCase();
    }

    public static SysEventType getByCode(String code) {
        SysEventType[] var1 = values();
        int var2 = var1.length;

        for (int var3 = 0; var3 < var2; ++var3) {
            SysEventType t = var1[var3];
            if (t.getCode().equalsIgnoreCase(code)) {
                return t;
            }
        }

        return null;
    }
}
